package com.qf.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "健康头条文章收藏实体类")
@TableName("articles_collect")
public class ArticlesCollect extends Model<ArticlesCollect> {

    @ApiModelProperty(name="id", value="文章收藏表id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name="userId", value="用户id")
    private Integer userId;

    @ApiModelProperty(name="articlesId", value="健康头条文章id")
    private Integer articlesId;

    @ApiModelProperty(name="collectFlag", value="文章收藏状态")
    private Integer collectFlag;

    @ApiModelProperty(name="createTime", value="创建时间")
    private Date createTime;

    @ApiModelProperty(name="updateTime", value="更新时间")
    private  Date updateTime;
}
